#include "FirstRunWizard.h"
#include <wx/font.h>
#include "wx/stattext.h"
#include <wx/sizer.h>
#include <wx/valtext.h>
#include "AccountPanel.h"


namespace Impp
{

FirstRunWizard::FirstRunWizard()  :
	wxWizard(NULL,wxID_ANY,wxT("Impp Accout creating"))
{

	page1 = new wxWizardPageSimple(this);

    new wxStaticText(page1, wxID_ANY,
             _T("Welcome to Impp.\n")
             _T("\n")
             _T("This is the Account creating Wizard."),
             wxPoint(5,5)
        );

    wxWizardPageSimple* page2 = new wxWizardPageSimple(this);
    wxBoxSizer* page2Sizer = new wxBoxSizer(wxVERTICAL);

    AccountPanel* accountPanel = new AccountPanel(page2);
    page2Sizer->Add(accountPanel, 1, wxEXPAND, 0);

    page2->SetSizer(page2Sizer);
    page2->Layout();

    page1->SetNext(page2);
    page2->SetPrev(page1);



}

FirstRunWizard::~FirstRunWizard()
{
}

wxWizardPageSimple* FirstRunWizard::getFirstPage(){
	return page1;
}


}
